package com.zxmc.server.service.impl;

import com.zxmc.pojo.entity.Author;
import com.zxmc.pojo.entity.Novel;
import com.zxmc.server.mapper.AuthorMapper;
import com.zxmc.server.service.AuthorService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AuthorServiceImpl implements AuthorService {
    @Autowired
    private AuthorMapper authorMapper;
    @Override
    public List<Author> list(Integer id) {
        return authorMapper.list(id);
    }


}
